function layoutHtml(data) {
  let {name,title} = data;
  let parse_data = {
    name,
    title
  }
  let _data = JSON.stringify(parse_data,null,4)
  return `  
  {{extend '../../public/layout.html'}}

   {{block 'meta'}}
    <%
    data = ${_data}
    %>
    <% include('../../public/meta.html',{data}) %>
  {{/block}}

  {{block 'header'}}
  <%include('../../public/header.html',{index:0}) %>
  {{/block}}

  {{block 'body'}}
  <div class="page page-${data.name}">
  <div>${data.title}</div>
  <div>${data.name}</div>
  </div>
  {{/block}}
      `
}
module.exports = layoutHtml